<script type="text/javascript" src="/static/js/jquery-1.6.js"></script>
<script type="text/javascript" src="/static/js/cufon-yui.js"></script>
<script type="text/javascript" src="/static/js/cufon-replace.js"></script> 
<script type="text/javascript" src="/static/js/Vegur_700.font.js"></script>
<script type="text/javascript" src="/static/js/Vegur_400.font.js"></script>
<script type="text/javascript" src="/static/js/Vegur_300.font.js"></script>
<script type="text/javascript" src="/static/js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="/static/js/tms-0.3.js"></script>
<script type="text/javascript" src="/static/js/tms_presets.js"></script>
<script type="text/javascript" src="/static/js/backgroundPosition.js"></script>
<script type="text/javascript" src="/static/js/atooltip.jquery.js"></script>
<script type="text/javascript" src="/static/js/script.js"></script>
<script type="text/javascript">Cufon.now();</script>
<script>
    $(window).load(function(){
        $('.slider')._TMS({
            preset:'zabor',
            easing:'easeOutQuad',
            duration:800,
            pagination:true,
            banners:true,
            waitBannerAnimation:false,
            slideshow:6000,
            bannerShow:function(banner){
                banner
                .css({right:'-700px'})
                .stop()
                .animate({right:'0'},600, 'easeOutExpo')
            },
            bannerHide:function(banner){
                banner
                .stop()
                .animate({right:'-700'},600,'easeOutExpo')
            }
        })
        $('.pagination li').hover(function(){
            if (!$(this).hasClass('current')) {
                $(this).find('a').stop().animate({backgroundPosition:'0 0'},600,'easeOutExpo', function(){$(this).parent().css({backgroundPosition:'-20px 0'})});
            }
        },function(){
            if (!$(this).hasClass('current')) {
                $(this).css({backgroundPosition:'0 0'}).find('a').stop().animate({backgroundPosition:'-250px 0'},600,'easeOutExpo');
            }
        })
    })
</script>